@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                        	<div class="col-sm-3 hidden">
                                <#input id="vehicleId"  name="车次id" value="${vehicle.id}" />
                                <#input id="vehicleNo"  name="车次" value="${vehicle.vehicleNo}" />
                             </div>
                            <div class="col-sm-3">
                                <#NameCon id="carriageNo" name="车厢号" />
                            </div>
                            <div class="col-sm-3">
                                <#NameCon id="seatNo" name="座位号" />
                            </div>
                            <div class="col-sm-3">
                                <#SelectCon id="seatType" name="座位类型" lang="">
                                    <option value="">全部</option>
                                    <option value="1">硬上</option>
                                    <option value="2">硬中</option>
                                    <option value="3">硬下</option>
                                    <option value="4">软上</option>
                                    <option value="5">软下</option>
                                </#SelectCon>
                            </div>
                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="TrainSeat.search()"/>
                            </div>
                        </div>
                        <div class="hidden-xs" id="TrainSeatTableToolbar" role="group">
                            @if(shiro.hasPermission("/trainSeat/add")){
                                <#button name="添加" icon="fa-plus" clickFun="TrainSeat.openAddTrainSeat()"/>
                            @}
                            @if(shiro.hasPermission("/trainSeat/update")){
                                <#button name="修改" icon="fa-plus" clickFun="TrainSeat.openTrainSeatDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/trainSeat/delete")){
                                <#button name="删除" icon="fa-plus" clickFun="TrainSeat.delete()" space="true"/>
                            @}
                        </div>
                        <#table id="TrainSeatTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/js/trainSeat/trainSeat.js"></script>
@}
